Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Expression simplifcation] Improve error handling #352

Merged
merged 17 commits into from
Oct 25, 2023

Conversation

rihi
Copy link
Collaborator

@rihi rihi commented Oct 16, 2023

This pr improves the error handling of the expression simplifcation stage, especially with collapsing of constants. Previously there were some exceptions, which were being thrown on valid input data, like adding of pointer constants with integer constants.
Additionally all errors caused by simplification rules are now catched and properly handled.

@rihi rihi self-assigned this Oct 16, 2023
@blattm blattm self-requested a review October 18, 2023 09:22
@blattm blattm force-pushed the expression-simplifcation-error-handling branch from 0c81bd6 to 83252d9 Compare October 19, 2023 13:22
blattm
blattm previously approved these changes Oct 25, 2023
Copy link
Collaborator

@blattm blattm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@blattm blattm enabled auto-merge (squash) October 25, 2023 14:53
@blattm blattm merged commit 1dc15d4 into main Oct 25, 2023
1 check passed
@blattm blattm deleted the expression-simplifcation-error-handling branch October 25, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants